//
//  XLMineSwitchCellModel.h
//  Mine
//
//  Created by 于鹏 on 2017/8/30.
//  Copyright © 2017年 YIVIEW. All rights reserved.
//

#import "XLMineBaseCellModel.h"
typedef void(^switchBlock)(XLMineBaseCellModel *model, NSIndexPath *indexPath, BOOL on);

@interface XLMineSwitchCellModel : XLMineBaseCellModel
@property (nonatomic, assign)BOOL on;  ///<开关状态
@property (nonatomic, copy)switchBlock switchBlock;  ///< block调用

- (instancetype)initWithTitle:(NSString *)title switchType:(BOOL)on switchBlock:(switchBlock)block;

@end
